package com.zqxq.auth.service;

import com.baomidou.mybatisplus.service.IService;
import com.zqxq.auth.entity.module.Result;
import com.zqxq.auth.entity.po.Role;
import com.zqxq.auth.entity.po.UserAdmin;

/**
 * Created by Administrator on 2018/01/18 17:14
 */
public interface IRoleService extends IService<Role> {
    Result getRoleList(Integer currentPage, Integer pageSize, Long role_id);

    Result saveRole(Role role, String funcIds, UserAdmin userAdmin);
    
    String getChildrenRoleString(String parent_role_ids);

    Result updateRoleStatus(Long role_id, Integer role_status);

    Result isRoleNamePass(String role_name, Long role_id);

    Result getUsingRoleList(UserAdmin userAdmin);

    Result getRoleFuncByRoleId(Long role_id);
}
